#ifndef _FIG_VARS_H_
#define _FIG_VARS_H_

#include "application/game_rms.h"

class FIGVars : public GameRMS 
{
public:

	FIGVars();

	   
    enum DEVICE_TYPE
    {
      DEVICE_TYPE_UNKNOWN,  
      DEVICE_TYPE_IPHONE,
      DEVICE_TYPE_IPOD,
      DEVICE_TYPE_IPAD,
      DEVICE_TYPE_SIMULATOR
    };

	enum VAR_NAMES
	{
		VAR_NAMES_IS_HARD_PLAYABLE,

		VAR_NAMES_CURRENT_LEVEL_EASY,		
		VAR_NAMES_MAX_PLAYABLE_LEVEL_EASY,

		VAR_NAMES_CURRENT_LEVEL_NORMAL,		
		VAR_NAMES_MAX_PLAYABLE_LEVEL_NORMAL,

		VAR_NAMES_CURRENT_LEVEL_HARD,		
		VAR_NAMES_MAX_PLAYABLE_LEVEL_HARD,

		VAR_NAMES_BOMB_COUNT,
		VAR_NAMES_CURRENT_GUN_COLOR,
		VAR_NAMES_CURRENT_GUN_POWER,
		VAR_NAMES_IS_FULL_VERSION,
		VAR_NAMES_PLAYERCRAFT_REMAIN,
        VAR_NAMES_HIGHSCORE,
        
        VAR_NAMES_DIFFICULTY,       // 0 -> easy , 1 -> normal , 2 -> hard
		
		VAR_NAMES_STARS_COLLECTED,
		VAR_NAMES_STARS_SPEND,

		VAR_NAMES_ACHIEVEMENT_1,
		VAR_NAMES_ACHIEVEMENT_2,
		VAR_NAMES_ACHIEVEMENT_3,
		VAR_NAMES_ACHIEVEMENT_4,
		VAR_NAMES_ACHIEVEMENT_5,
		VAR_NAMES_ACHIEVEMENT_6,
		VAR_NAMES_ACHIEVEMENT_7,
		VAR_NAMES_ACHIEVEMENT_8,
		VAR_NAMES_ACHIEVEMENT_9,
		VAR_NAMES_ACHIEVEMENT_10,

		VAR_NAMES_LOCALIZATION_SELECTED,

		VAR_NAMES_TUTORIAL_1,
		VAR_NAMES_TUTORIAL_2,
		VAR_NAMES_TUTORIAL_3,
		VAR_NAMES_TUTORIAL_4,
		VAR_NAMES_TUTORIAL_5,

		VAR_NAMES_RATE_CLICKED,

		VAR_NAMES_BOUGHT_START,
		VAR_NAMES_BOUGHT_AIRCRAFT_2,
		VAR_NAMES_BOUGHT_AIRCRAFT_3,

		VAR_NAMES_SELECT_AIRCRAFT,

		     
        VAR_COUNT

	};
	
	
	virtual void		ResetCustom();
		
    DEVICE_TYPE         GetDeviceType() const { return m_DeviceType; };
	//bool				IsVibrationAvilable() const;    deprecated
	void				FIGReset();
	
    int					GetCurrentLevel();
	int					GetMaxPlayableLevel();

	void				SetCurrentLevel(int LevelNum);
	void				SetMaxPlayableLevel(int LevelNum);

	
protected:	

	

	DEVICE_TYPE         m_DeviceType;
	
};


#endif //_GEN_PUZZLE_STATE_H_